﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using KC.DTO.Core;
using KC.Service.Core.Enums.WorkFlow;

namespace KC.Service.Core.DTO.WorkFlow
{
    [Serializable]
    [DataContract(IsReference = true)]
    public class FlowCurStepUsersDto : EntityBaseDTO
    {
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        public int? Rid { get; set; }
        [DataMember]
        public string WorkId { get; set; }
        [DataMember]
        public Guid UserId { get; set; }
        [DataMember]
        [Display(Name = "用户名称")]
        [MaxLength(50)]
        public string UserName { get; set; }
        [DataMember]
        [Display(Name = "用户编号")]
        [MaxLength(50)]
        public string UserCode { get; set; }
        [DataMember]
        public int FlowId { get; set; }
        [DataMember]
        public ProcessingState ProcessingState { get; set; }

        public string ProcessingStateString { get; set; }
    }
}
